package com.zhong.beautifulimageapp;

import android.app.Application;

import net.danlew.android.joda.JodaTimeAndroid;

import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.EventBusBuilder;

/**
 * Created by 俊峰 on 2017/7/11.
 */

public class MainApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        //注册EventBus
        EventBusBuilder builder = EventBus.builder();
        builder.installDefaultEventBus();
        //注册Joda Library
        JodaTimeAndroid.init(this);

    }
}
